<?php
class Admin_IndexController extends MyZend_Controller_Action {
	
public function init() {
		$this->_arrParam          = $this->_request->getParams();
		$this->_currentController = '/' . $this->_arrParam['module']
		                            . '/' . $this->_arrParam['controller'];
		
		$this->_actionMain        = '/' . $this->_arrParam['module']
									. '/' . $this->_arrParam['controller'] . '/index';
		$this->_namespace         = $this->_arrParam['module'] . '-' . $this->_arrParam['controller'];
		
		// render to view
		$this->view->arrParam 		   = $this->_arrParam;
		$this->view->actionMain 	   = $this->_actionMain;
		$this->view->currentController = $this->_currentController;
		
		$this->_helper->layout()->disableLayout();
		$template_path = TEMPLATE_PATH . '/admin/main';
		$this->loadTemplate($template_path);
	}
	
	public function indexAction() {
		$this->view->Title = 'Member :: Group manager :: List';
		$this->view->headTitle($this->view->Title, true);
		//$tblGroup = new Admin_Model_UserGroup();
		//$this->view->Items = $tblGroup->listItem($this->_arrParam, array('task' => 'admin-list'));
		//$totalItem  = $tblGroup->countItem($this->_arrParam);
		
	}
}